export fn foo() void {
    bar() catch unreachable;
}
fn bar() anyerror!i32 {
    return 0;
}

// error
//
// :2:11: error: value of type 'i32' ignored
// :2:11: note: all non-void values must be used
// :2:11: note: to discard the value, assign it to '_'
